<html>
<head>
    <script src="/static/jquery-1.11.1.min.js"></script>
    <script src="/static/base.js"></script>
    <script type="text/javascript">
        var url="/rest/demoService/demo/list1";
        var data={name:'a',id:1};
        ajaxPostData(url,data,function (res) {
           console.log(res);
       });
    //   ajaxPostData(url,data);
    </script>
</head>
<body>
<h2>Hello World!</h2>
</body>
</html>
